package com.sgb.kjwl.model.entity.self;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * 土地出租发布和详情
 */
public class LeaseLandEntity {
    //发布入参
    private String id;
    private String no;
    private String contactPerson;//联系人
    private String contactPhone;//联系电话
    private String rentalArea;//面积
    private String firstCategoryNo;
    private String secondCategoryNo;
    private String ownership;//"土地所有权（1集体土地 2 国有土地）
    private String leaseterm;//起租期，-1：面议
    private String provinceNo;
    private String cityNo;
    private String areaNo;
    private String taskAddr;//地址详情
    private String latitude;
    private String longitude;
    private String rentalPrice;//租赁价格（-1面议）
    private String rentalSelectPrice;//租赁价格单位no
    private String payMethod;//支付方式
    private String needInvoice;//是否开具发票(0不需要，1需要)
    private String invoiceType;//发票类型（0普通发票，1专用发票）
    private String tariff;//税率
    private String customerServiceId;//客服id
    private String title;
    private String remark;
    private List<String> imgs;//图片

    // 详情出参
    private String reatalAreaUnit;//面积单位
    private String companyName; //所属公司名
    private String createCompanyNo;//所属公司名no
    private String type;//是否企业(0:个人;1:企业)
    @SerializedName(value = "provinceName",alternate = {"province"})
    private String provinceName;
    @SerializedName(value = "cityName",alternate = {"city"})
    private String cityName;
    @SerializedName(value = "areaName",alternate = {"area"})
    private String areaName;
    private String pcaName;
    private String imAccount;
    private String rentalSelectPriceName;//价格单位名称
    private String firstCategoryName;
    private String secondCategoryName;
    private String customerServiceName;//客服
    private String createUser; //创建人
    private String leasetermUnit; //起租期单位
    private String companyAuthTime; //企业入驻时间
    private String pictures;//图片

    private String status;//0草稿，1 上架 2 下架 3 审核不过，4 审核中
    private String departmentNo;//部门no,无传''
    private String departmentName;//部门名称
    private String updateTime;
    private String updateUserNo;

    private String isSelf;//是否自营(0：否，1：是)

    private String weixinFenXiangUrl;//微信分享专用Url前缀
    private String createCompanyName;//出租方企业
    private String createUserName;//出租方个人

    public String getWeixinFenXiangUrl() {
        return weixinFenXiangUrl;
    }

    public void setWeixinFenXiangUrl(String weixinFenXiangUrl) {
        this.weixinFenXiangUrl = weixinFenXiangUrl;
    }

    public String getCreateCompanyName() {
        return createCompanyName;
    }

    public void setCreateCompanyName(String createCompanyName) {
        this.createCompanyName = createCompanyName;
    }

    public String getCreateUserName() {
        return createUserName;
    }

    public void setCreateUserName(String createUserName) {
        this.createUserName = createUserName;
    }

    public List<String> getImgs() {
        return imgs;
    }

    public void setImgs(List<String> imgs) {
        this.imgs = imgs;
    }

    public void setPcaName(String pcaName) {
        this.pcaName = pcaName;
    }

    public String getPcaName() {
        this.pcaName = this.provinceName + this.cityName + this.areaName;
        return pcaName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getContactPerson() {
        return contactPerson;
    }

    public void setContactPerson(String contactPerson) {
        this.contactPerson = contactPerson;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getRentalArea() {
        return rentalArea;
    }

    public void setRentalArea(String rentalArea) {
        this.rentalArea = rentalArea;
    }

    public String getFirstCategoryNo() {
        return firstCategoryNo;
    }

    public void setFirstCategoryNo(String firstCategoryNo) {
        this.firstCategoryNo = firstCategoryNo;
    }

    public String getSecondCategoryNo() {
        return secondCategoryNo;
    }

    public void setSecondCategoryNo(String secondCategoryNo) {
        this.secondCategoryNo = secondCategoryNo;
    }

    public String getOwnership() {
        return ownership;
    }

    public void setOwnership(String ownership) {
        this.ownership = ownership;
    }

    public String getLeaseterm() {
        return leaseterm;
    }

    public void setLeaseterm(String leaseterm) {
        this.leaseterm = leaseterm;
    }

    public String getRentalSelectPriceName() {
        return rentalSelectPriceName;
    }

    public void setRentalSelectPriceName(String rentalSelectPriceName) {
        this.rentalSelectPriceName = rentalSelectPriceName;
    }

    public String getCreateCompanyNo() {
        return createCompanyNo;
    }

    public void setCreateCompanyNo(String createCompanyNo) {
        this.createCompanyNo = createCompanyNo;
    }

    public String getSecondCategoryName() {
        return secondCategoryName;
    }

    public void setSecondCategoryName(String secondCategoryName) {
        this.secondCategoryName = secondCategoryName;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getLeasetermUnit() {
        return leasetermUnit;
    }

    public void setLeasetermUnit(String leasetermUnit) {
        this.leasetermUnit = leasetermUnit;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCompanyAuthTime() {
        return companyAuthTime;
    }

    public void setCompanyAuthTime(String companyAuthTime) {
        this.companyAuthTime = companyAuthTime;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getCityNo() {
        return cityNo;
    }

    public void setCityNo(String cityNo) {
        this.cityNo = cityNo;
    }

    public String getAreaNo() {
        return areaNo;
    }

    public void setAreaNo(String areaNo) {
        this.areaNo = areaNo;
    }

    public String getTaskAddr() {
        return taskAddr;
    }

    public void setTaskAddr(String taskAddr) {
        this.taskAddr = taskAddr;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getRentalPrice() {
        return rentalPrice;
    }

    public void setRentalPrice(String rentalPrice) {
        this.rentalPrice = rentalPrice;
    }

    public String getRentalSelectPrice() {
        return rentalSelectPrice;
    }

    public void setRentalSelectPrice(String rentalSelectPrice) {
        this.rentalSelectPrice = rentalSelectPrice;
    }

    public String getPayMethod() {
        return payMethod;
    }

    public void setPayMethod(String payMethod) {
        this.payMethod = payMethod;
    }

    public String getNeedInvoice() {
        return needInvoice;
    }

    public void setNeedInvoice(String needInvoice) {
        this.needInvoice = needInvoice;
    }

    public String getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(String invoiceType) {
        this.invoiceType = invoiceType;
    }

    public String getTariff() {
        return tariff;
    }

    public void setTariff(String tariff) {
        this.tariff = tariff;
    }

    public String getCustomerServiceId() {
        return customerServiceId;
    }

    public void setCustomerServiceId(String customerServiceId) {
        this.customerServiceId = customerServiceId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPictures() {
        return pictures;
    }

    public void setPictures(String pictures) {
        this.pictures = pictures;
    }

    public String getReatalAreaUnit() {
        return reatalAreaUnit;
    }

    public void setReatalAreaUnit(String reatalAreaUnit) {
        this.reatalAreaUnit = reatalAreaUnit;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getFirstCategoryName() {
        return firstCategoryName;
    }

    public void setFirstCategoryName(String firstCategoryName) {
        this.firstCategoryName = firstCategoryName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getImAccount() {
        return imAccount;
    }

    public void setImAccount(String imAccount) {
        this.imAccount = imAccount;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }


    public String getCustomerServiceName() {
        return customerServiceName;
    }

    public void setCustomerServiceName(String customerServiceName) {
        this.customerServiceName = customerServiceName;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getDepartmentNo() {
        return departmentNo;
    }

    public void setDepartmentNo(String departmentNo) {
        this.departmentNo = departmentNo;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getUpdateUserNo() {
        return updateUserNo;
    }

    public void setUpdateUserNo(String updateUserNo) {
        this.updateUserNo = updateUserNo;
    }

    public String getIsSelf() {
        return isSelf;
    }

    public void setIsSelf(String isSelf) {
        this.isSelf = isSelf;
    }
}
